package org.example.statistics.service;

import java.util.List;
import org.example.statistics.domain.StatisticsBuy;

/**
 * 统计采购报Service接口
 *
 * @author 小孟微信：xiaomengcode
 * @date 2024-05-31
 */
public interface IStatisticsBuyService
{
    /**
     * 查询统计采购报
     *
     * @param statisticsBuyId 统计采购报主键
     * @return 统计采购报
     */
    public StatisticsBuy selectStatisticsBuyByStatisticsBuyId(Long statisticsBuyId);

    /**
     * 查询统计采购报列表
     *
     * @param statisticsBuy 统计采购报
     * @return 统计采购报集合
     */
    public List<StatisticsBuy> selectStatisticsBuyList(StatisticsBuy statisticsBuy);

    /**
     * 新增统计采购报
     *
     * @param statisticsBuy 统计采购报
     * @return 结果
     */
    public int insertStatisticsBuy(StatisticsBuy statisticsBuy);

    /**
     * 修改统计采购报
     *
     * @param statisticsBuy 统计采购报
     * @return 结果
     */
    public int updateStatisticsBuy(StatisticsBuy statisticsBuy);

    /**
     * 批量删除统计采购报
     *
     * @param statisticsBuyIds 需要删除的统计采购报主键集合
     * @return 结果
     */
    public int deleteStatisticsBuyByStatisticsBuyIds(String statisticsBuyIds);

    /**
     * 删除统计采购报信息
     *
     * @param statisticsBuyId 统计采购报主键
     * @return 结果
     */
    public int deleteStatisticsBuyByStatisticsBuyId(Long statisticsBuyId);



    public int insertStatisticsBuyByMonth(StatisticsBuy statisticsBuy);

    List<StatisticsBuy> queryStatisticsBuyByGroupByMonth(StatisticsBuy statisticsBuy);

    StatisticsBuy selectStatisticsBuyByCurrentMonth(StatisticsBuy statisticsBuy);
}
